package xiangmu.schoolpaper.service.impl;

import xiangmu.schoolpaper.mapper.TeacherHomeAllOverviewMapper;
import xiangmu.schoolpaper.pojo.DTO.TeacherHomeAllOverviewDTO;
import xiangmu.schoolpaper.service.TeacherHomeAllOverviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TeacherHomeAllOverviewServiceImpl implements TeacherHomeAllOverviewService {

    @Autowired
    private TeacherHomeAllOverviewMapper teacherHomeAllOverviewMapper;

    @Override
    public TeacherHomeAllOverviewDTO getTeacherHomeOverview(String teacherId,Integer year) {
        return teacherHomeAllOverviewMapper.getTeacherHomeAllOverview(teacherId,year);
    }
}
